#ifndef _DRAW_H_
#define _DRAW_H_

#include "common.h"
#include "colour.h"
#include "graphics.h"

////////////////////////////////////////////////////////////////////////////////

void Draw_init();

void Draw_pushOffset(const Point& offset);
void Draw_popOffset();

void Draw_fillRect(const Rect& rect, Colour colour);
void Draw_drawRect(const Rect& rect, int width, Colour colour);
void Draw_drawRect3D(const Rect& rect, int width, Colour colour_tl,
  Colour colour_c, Colour colour_br);
  
void Draw_drawTexRect(const Material& material, const Rect& rect);
void Draw_drawSubTexRect(const Material& material,
  const Dimension& tex_dim, const Rect& sub_rect, const Point& pos);

#endif
